1 00:00:00,240 --> 00:00:05,010 Let's make a button so that when the players press it, we can initiate the battle. 2 00:00:05,010 --> 00:00:11,130 And I think I'm just going to put it on a wall like I did with my steps a long time ago in the beginning. 3 00:00:11,130 --> 00:00:14,580 So let's go to our part and we'll get a block. 4 00:00:14,580 --> 00:00:16,290 And the block is going to be the wall. 5 00:00:16,290 --> 00:00:17,460 We'll call this wall. 6 00:00:19,590 --> 00:00:20,850 Collisions are on. 7 00:00:20,850 --> 00:00:23,520 So if I increase the size, it'll it'll pop out of the ground. 8 00:00:23,520 --> 00:00:25,650 It won't be like half in and half out. 9 00:00:25,860 --> 00:00:30,800 Let's make that size 12 by 12 by two. 10 00:00:31,680 --> 00:00:32,700 Cool. 11 00:00:33,150 --> 00:00:34,950 Maybe pull this back a little bit. 12 00:00:36,360 --> 00:00:37,290 There we go. 13 00:00:37,290 --> 00:00:39,810 And we'll make the material. 14 00:00:40,940 --> 00:00:41,330 Maybe. 15 00:00:41,330 --> 00:00:44,760 Brett, Whatever you want to make it break. 16 00:00:44,990 --> 00:00:45,810 How's that? 17 00:00:45,830 --> 00:00:47,330 I'm going to put this in a model. 18 00:00:47,780 --> 00:00:51,260 So I'm going to write, click and then group as model. 19 00:00:51,620 --> 00:00:56,080 And then the model I'm going to call Battle Wall. 20 00:00:57,710 --> 00:01:00,470 So in the in the battle wall, I got my wall. 21 00:01:01,310 --> 00:01:01,550 All right. 22 00:01:01,550 --> 00:01:02,710 What else I need on my wall? 23 00:01:02,720 --> 00:01:05,370 I need some sort of instructions so that people know what it is. 24 00:01:05,390 --> 00:01:07,280 Let's hit the plus on the wall. 25 00:01:07,310 --> 00:01:10,250 Hit s for surface guy. 26 00:01:10,280 --> 00:01:11,710 Make sure it's not screen gooey. 27 00:01:11,720 --> 00:01:12,850 They look a lot alike. 28 00:01:12,860 --> 00:01:14,890 So we'll hit surface gooey. 29 00:01:14,900 --> 00:01:15,350 Boom. 30 00:01:15,350 --> 00:01:18,730 We're going to put that on the wall and then on the surface gooey. 31 00:01:18,740 --> 00:01:20,480 We're going to hit a text label. 32 00:01:20,870 --> 00:01:23,080 You might not see your text label. 33 00:01:23,090 --> 00:01:25,630 Go ahead and look around and see where it's at. 34 00:01:25,640 --> 00:01:27,050 Might even be on the bottom. 35 00:01:27,050 --> 00:01:27,980 Probably not. 36 00:01:28,130 --> 00:01:29,750 It's probably going to be in the front of the back. 37 00:01:30,020 --> 00:01:32,630 If you want to rotate your part, that's fine. 38 00:01:32,630 --> 00:01:38,120 But you could just go click surface, surface gooey and then look for face. 39 00:01:38,210 --> 00:01:39,110 Then you can change it. 40 00:01:39,110 --> 00:01:43,730 So if it's on the front, but you're not looking at the front, just change it to back. 41 00:01:43,730 --> 00:01:45,140 It's probably going to pop out. 42 00:01:45,500 --> 00:01:47,180 Just change these around so you can see it. 43 00:01:47,910 --> 00:01:52,730 All right, now on my text label, let's go ahead and we can call this like instruction label or something. 44 00:01:52,740 --> 00:01:55,380 Instruction label. 45 00:01:56,460 --> 00:01:59,610 I'm going to change the anchor point of that because I want to center it. 46 00:01:59,610 --> 00:02:02,600 So I only really care about the X. 47 00:02:02,610 --> 00:02:12,090 It's still good zero for the Y, so I'll do a 0.5 x zero for the Y on the anchor point, and that's 48 00:02:12,090 --> 00:02:12,630 the anchor point. 49 00:02:12,630 --> 00:02:13,320 Like halfway. 50 00:02:13,320 --> 00:02:18,570 Right, let's go to position and then we'll make it point five of the X. 51 00:02:18,570 --> 00:02:30,240 So halfway across the the wall zero pixel offset and maybe like point one down so 10% down on the Y 52 00:02:30,240 --> 00:02:31,860 zero pixel offset. 53 00:02:32,430 --> 00:02:34,050 Nice size. 54 00:02:34,050 --> 00:02:42,930 We can make that bigger, we can make that 100% on the X, which is just a10 pixel offset 30% on the 55 00:02:42,930 --> 00:02:48,030 Y, which is 0.3 right decimal percentage and zero pixel offset. 56 00:02:48,960 --> 00:02:50,160 It's kind of big. 57 00:02:50,190 --> 00:02:50,760 That's all right. 58 00:02:50,760 --> 00:02:54,300 We're going to make the text big and we're going to make this background invisible. 59 00:02:54,300 --> 00:02:57,930 So let's scroll up to the background transparency. 60 00:02:58,020 --> 00:02:59,190 Make that one. 61 00:02:59,850 --> 00:03:01,800 I know you can't see it, but there's a label in there. 62 00:03:01,800 --> 00:03:03,530 Hold on, We'll make it bigger. 63 00:03:03,540 --> 00:03:05,790 Let's scroll all the way down to. 64 00:03:06,500 --> 00:03:10,520 Tax scaled so we could see it there. 65 00:03:10,640 --> 00:03:14,050 And then maybe we'll make that red because it's going to be a battle, right? 66 00:03:14,060 --> 00:03:15,110 It's going to be bloody. 67 00:03:16,170 --> 00:03:17,010 And it's red. 68 00:03:17,010 --> 00:03:19,020 And I want to have a little outline on that. 69 00:03:19,020 --> 00:03:21,090 So go to text transparency. 70 00:03:21,120 --> 00:03:24,620 Make that what's text That's text transparency. 71 00:03:24,630 --> 00:03:30,450 Keep that zero text stroke transparency zero. 72 00:03:30,970 --> 00:03:32,640 It puts a little outline on it. 73 00:03:33,090 --> 00:03:35,970 Let's change the font to right. 74 00:03:36,540 --> 00:03:39,360 Let's make it like permanent marker. 75 00:03:39,360 --> 00:03:42,300 Like somebody wrote it, wrote it down there. 76 00:03:43,060 --> 00:03:44,620 That's pretty good. 77 00:03:44,650 --> 00:03:46,030 Maybe make a bold. 78 00:03:46,060 --> 00:03:46,780 How's that look? 79 00:03:47,650 --> 00:03:49,000 Yeah, I like it. 80 00:03:49,000 --> 00:03:49,870 Not bold. 81 00:03:50,560 --> 00:03:52,250 And we'll change the text. 82 00:03:52,270 --> 00:03:53,020 Let's change it. 83 00:03:53,020 --> 00:03:58,390 To click to initiate 84 00:04:00,310 --> 00:04:01,450 battle. 85 00:04:02,720 --> 00:04:03,050 All right. 86 00:04:03,050 --> 00:04:05,010 We're going to need a button on that thing, too. 87 00:04:05,030 --> 00:04:07,310 So let's go to our part. 88 00:04:07,910 --> 00:04:09,960 Hit the little down arrow. 89 00:04:09,980 --> 00:04:12,170 Cylinder is going to be my button. 90 00:04:12,960 --> 00:04:14,160 And a call button. 91 00:04:16,080 --> 00:04:17,460 So don't get confused. 92 00:04:17,460 --> 00:04:18,900 It's outside the bottle wall. 93 00:04:18,900 --> 00:04:21,180 Let's go ahead and drag it into the battle wall. 94 00:04:22,210 --> 00:04:25,050 Good collisions are on. 95 00:04:25,060 --> 00:04:25,960 That's fine. 96 00:04:26,070 --> 00:04:27,580 Let's just go ahead and rotate this. 97 00:04:28,090 --> 00:04:28,960 Am I rotating? 98 00:04:28,960 --> 00:04:29,670 Oh, green. 99 00:04:29,680 --> 00:04:30,370 There we go. 100 00:04:31,640 --> 00:04:33,460 A change the size. 101 00:04:34,900 --> 00:04:39,500 The button selected o turn anchored on to because you don't want it the button to fall. 102 00:04:39,520 --> 00:04:41,250 I just happened to see it there. 103 00:04:41,260 --> 00:04:44,500 Let's go to our size. 104 00:04:44,740 --> 00:04:45,370 There it is. 105 00:04:45,370 --> 00:04:48,800 Make it like point two, one by one. 106 00:04:48,820 --> 00:04:53,110 Don't make your button too small because then the mobile people won't be able to hit it on their phones. 107 00:04:53,560 --> 00:04:54,100 All right. 108 00:04:54,100 --> 00:04:56,350 I want to put that right in the center of my wall. 109 00:04:56,350 --> 00:04:58,360 So what I'm going to do is I want to get my wall. 110 00:04:58,690 --> 00:05:01,330 I'm going to go to the position of the wall. 111 00:05:01,330 --> 00:05:02,530 Where's my C? 112 00:05:02,530 --> 00:05:03,040 Here it is. 113 00:05:03,040 --> 00:05:08,920 C, frame position control C to get the wall position. 114 00:05:09,190 --> 00:05:10,330 Grab my button. 115 00:05:11,280 --> 00:05:14,520 And then control V and the button position. 116 00:05:19,020 --> 00:05:21,440 Are turn collisions off. 117 00:05:21,450 --> 00:05:22,240 That's cool though. 118 00:05:22,240 --> 00:05:23,400 It didn't go above. 119 00:05:23,400 --> 00:05:25,260 I should add collisions off for that. 120 00:05:25,260 --> 00:05:26,910 But now it's centered. 121 00:05:28,260 --> 00:05:29,740 Bump it up against. 122 00:05:29,760 --> 00:05:30,390 Yeah, that's. 123 00:05:30,390 --> 00:05:30,680 Senator. 124 00:05:30,690 --> 00:05:31,410 That's good. 125 00:05:31,530 --> 00:05:32,220 I like that. 126 00:05:32,220 --> 00:05:32,760 That's why. 127 00:05:32,760 --> 00:05:34,530 That's why I did the copy and paste. 128 00:05:34,620 --> 00:05:36,330 Let's change the color of our button now. 129 00:05:36,330 --> 00:05:37,320 We can't see it. 130 00:05:37,320 --> 00:05:38,460 Maybe green. 131 00:05:38,820 --> 00:05:39,210 Green. 132 00:05:39,210 --> 00:05:41,040 Looks like you're going to initiate something. 133 00:05:41,770 --> 00:05:44,740 I the battle wall itself or just the wall? 134 00:05:45,010 --> 00:05:48,660 Let's make that anchored too, so it doesn't fall over. 135 00:05:48,670 --> 00:05:49,900 I don't think a will, but. 136 00:05:51,030 --> 00:05:51,840 Why not? 137 00:05:51,840 --> 00:05:54,270 We might have explosions go off or something. 138 00:05:55,320 --> 00:05:56,470 Yeah, that's pretty good. 139 00:05:56,490 --> 00:05:57,740 What else are we going to need for this? 140 00:05:57,750 --> 00:05:59,340 We are going to need. 141 00:06:00,420 --> 00:06:03,990 A quick detector on the button because we want to click the button. 142 00:06:04,080 --> 00:06:06,240 There's the button, hit the plus. 143 00:06:07,880 --> 00:06:13,130 Click detector and you could use a proximity prompt to now, you know, a few different ways of doing 144 00:06:13,130 --> 00:06:13,730 things. 145 00:06:13,910 --> 00:06:16,640 And I think on the bottle wall. 146 00:06:17,590 --> 00:06:23,590 I think I'm going to hit the plus again, too, and ask for string value. 147 00:06:25,810 --> 00:06:28,900 And this is going to be the place I'd write. 148 00:06:28,900 --> 00:06:30,940 This is where you're going to teleport to. 149 00:06:30,970 --> 00:06:34,510 So say place ID. 150 00:06:35,170 --> 00:06:36,790 So that's a string value. 151 00:06:36,820 --> 00:06:38,020 We don't have anything yet. 152 00:06:38,020 --> 00:06:39,700 We still have to make our place. 153 00:06:39,940 --> 00:06:42,340 And we're going to have we're going to have a script. 154 00:06:42,370 --> 00:06:44,010 We might as well add the script now, too. 155 00:06:44,020 --> 00:06:45,310 So hit the plus. 156 00:06:45,910 --> 00:06:48,820 I do script and. 157 00:06:50,140 --> 00:06:53,620 This is going to be an initiate initiate 158 00:06:55,690 --> 00:06:57,910 battle script. 159 00:07:00,440 --> 00:07:01,340 Looking good. 160 00:07:03,510 --> 00:07:03,900 All right. 161 00:07:03,900 --> 00:07:09,810 So in the next video, we're going to work on the UI, because they have to they have to coordinate. 162 00:07:09,810 --> 00:07:16,320 And we also need to make the place and then we have to teleport to the place and then we have to have 163 00:07:16,320 --> 00:07:18,720 them come back when they die. 164 00:07:18,720 --> 00:07:21,210 So this is almost like a lobby. 165 00:07:21,210 --> 00:07:23,480 It actually essentially is a lobby. 166 00:07:23,490 --> 00:07:26,610 We have a little game inside our big game. 167 00:07:26,610 --> 00:07:28,380 We just didn't go with the whole the whole lobby. 168 00:07:28,380 --> 00:07:30,000 This is our starter place, though.